GVPT399F: Power, Politics, and Data
We will use data visualization to answer the following question:
Do cars with big engines use more fuel than cars with small engines?
| manufacturer | model | displ | year | cyl |
|---|---|---|---|---|
| audi | a4 | 1.8 | 1999 | 4 |
| audi | a4 | 1.8 | 1999 | 4 |
| audi | a4 | 2.0 | 2008 | 4 |
| audi | a4 | 2.0 | 2008 | 4 |
| audi | a4 | 2.8 | 1999 | 6 |
| audi | a4 | 2.8 | 1999 | 6 |
mpg data setA couple of useful variables:
displ: engine displacement, in liters
hwy: highway miles per gallon